import axios from 'axios';

export function getBanner(type=1){
    return axios.get(`http://localhost:3000/banner?type=${type}`)
}
// 获取推荐歌单
export function getMusicList(limit=10){
    return axios.get(`http://localhost:3000/personalized?limit=${limit}`)
}
//获取歌单详情
export function getPlayListDetail(id){
    return axios.get(`http://localhost:3000/playlist/detail?id=${id}`)
}